from django.contrib import admin

# Register your models here.

from tbitem.models import WadeBBSAccount,WadeQiboAccount,WadeMiaoKouLing

# Register your models here.
# admin.site.register(models.Type)
# admin.site.register(TbIndex)
# admin.site.register(TbIMG)
# admin.site.register(TbComment)
# admin.site.register(TbFirstWord)
# admin.site.register(TbLastWord)
# admin.site.register(QiBoAccount)
# admin.site.register(RunModel)
# admin.site.register(DiscuzAccount)
# admin.site.register(Jdong)
admin.site.register(WadeMiaoKouLing)
admin.site.register(WadeBBSAccount)
admin.site.register(WadeQiboAccount)


# #Blog模型的管理器
# @admin.register(BBSContent)
# class BBSContentAdmin(admin.ModelAdmin):
#     list_display=('keyword','contentWord','status','updata','tbid')
#     # list_per_page设置每页显示多少条记录，默认是100条
#     list_per_page = 50
#     date_hierarchy = 'updata'  # 详细时间分层筛选
#     # 筛选器
#     list_filter = ('status',)  # 过滤器
#     search_fields = ('keyword', 'contentWord',)  # 搜索字段
#     list_display_links = ['contentWord'] #默认可编辑字段
#     list_editable =['keyword']  #可编辑的字段
#     save_as = False
#     # 点击保存并继续编辑
#     save_as_continue = True
#     # save按钮的位置,是True则显示在页面上方
#     save_on_top = True
#
#
# @admin.register(BBsLinks)
# class BBsLinksAdmin(admin.ModelAdmin):
#     # list_display=('GongGao',)
#     # list_per_page设置每页显示多少条记录，默认是100条
#     list_per_page = 20
#
#
# @admin.register(DIYTitle)
# class DIYTitleAdmin(admin.ModelAdmin):
#     list_display=('id','tbid','title','status','updata')
#     # list_per_page设置每页显示多少条记录，默认是100条
#     list_per_page = 50
#     date_hierarchy = 'updata'  # 详细时间分层筛选
#     # 筛选器
#     list_filter = ('status',)  # 过滤器
#     search_fields = ('tbid', 'title',)  # 搜索字段
#     # list_display_links = ['tbid'] #默认可编辑字段
#     list_editable =['tbid','title','status'] #可编辑的字段
#     save_as = False
#     # 点击保存并继续编辑
#     save_as_continue = True
#     # save按钮的位置,是True则显示在页面上方
#     save_on_top = True